<template>
  <div>
    <template v-if="isWrapped">
      <a :href="link">{{ content }}</a>
    </template>
    <template v-else>{{ content }}</template>
    <button @click="isWrapped = !isWrapped">Toggle</button>
  </div>
</template>
<script>
export default {
  data() {
    return {
      link: 'example',
      content: 'content',
      isWrapped: true
    }
  }
}
</script>